<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="CanvasData,jp.wxd.as3paintoco.data.CanvasData,CANVAS_PIXELS_MAX,CANVAS_SIZE_MAX,CANVAS_SIZE_MIN,activeLayer,activeTool,canvasHeight,canvasWidth,isActive,initialize" name="keywords">
<title>jp.wxd.as3paintoco.data.CanvasData</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'CanvasData - API Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?jp/wxd/as3paintoco/data/CanvasData.html&amp;jp/wxd/as3paintoco/data/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;CanvasData</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class CanvasData"); titleBar_setSubNav(true,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">jp.wxd.as3paintoco.data</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class CanvasData</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">CanvasData <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  <p>CanvasDataは、キャンバスのデータモデルの役割を担います。
  ライブラリ利用者が直接このクラスを参照する必要はありません。</p>
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#activeLayer">activeLayer</a> : <a href="../display/Layer.html">Layer</a>
<div class="summaryTableDescription">
   <p>現在選択されているLayerを設定または取得します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#activeTool">activeTool</a> : <a href="../tools/ITool.html">ITool</a>
<div class="summaryTableDescription">
   <p>現在選択されているIToolを設定または取得します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#canvasHeight">canvasHeight</a> : Number<div class="summaryTableDescription">
   <p>キャンバスの高さを設定または取得します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#canvasWidth">canvasWidth</a> : Number<div class="summaryTableDescription">
   <p>キャンバスの幅を設定または取得します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#isActive">isActive</a> : Boolean<div class="summaryTableDescription">
   <p>キャンバスがユーザイベントを受け取るか受け取らないかを設定または取得します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#CanvasData()">CanvasData</a>(param:Object)</div>
<div class="summaryTableDescription">
   <p>新しいCanvasDataインスタンスを作成します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#initialize()">initialize</a>(param:Object):void</div>
<div class="summaryTableDescription">
   <p>キャンバスデータを初期化します。</p>
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#CANVAS_PIXELS_MAX">CANVAS_PIXELS_MAX</a> : Number = 16777216<div class="summaryTableDescription">[static]
   maximum size of canvas pixels
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#CANVAS_SIZE_MAX">CANVAS_SIZE_MAX</a> : Number = 8192<div class="summaryTableDescription">[static]
   maximum size of canvas size
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#CANVAS_SIZE_MIN">CANVAS_SIZE_MIN</a> : Number = 10<div class="summaryTableDescription">[static]
   minimum size of canvas size
   </div>
</td><td class="summaryTableOwnerCol">CanvasData</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="activeLayer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">activeLayer</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>activeLayer:<a href="../display/Layer.html">Layer</a></code>&nbsp;&nbsp;[read-write]<p>
   </p><p>現在選択されているLayerを設定または取得します。</p>
   <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get activeLayer():<a href="../display/Layer.html">Layer</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set activeLayer(value:<a href="../display/Layer.html">Layer</a>):void</code>
<br>
</div>
<a name="activeTool"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">activeTool</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>activeTool:<a href="../tools/ITool.html">ITool</a></code>&nbsp;&nbsp;[read-write]<p>
   </p><p>現在選択されているIToolを設定または取得します。</p>
   <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get activeTool():<a href="../tools/ITool.html">ITool</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set activeTool(value:<a href="../tools/ITool.html">ITool</a>):void</code>
<br>
</div>
<a name="canvasHeight"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">canvasHeight</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>canvasHeight:Number</code>&nbsp;&nbsp;[read-write]<p>
   </p><p>キャンバスの高さを設定または取得します。</p>
   <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get canvasHeight():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set canvasHeight(value:Number):void</code>
<br>
</div>
<a name="canvasWidth"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">canvasWidth</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>canvasWidth:Number</code>&nbsp;&nbsp;[read-write]<p>
   </p><p>キャンバスの幅を設定または取得します。</p>
   <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get canvasWidth():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set canvasWidth(value:Number):void</code>
<br>
</div>
<a name="isActive"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isActive</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>isActive:Boolean</code>&nbsp;&nbsp;[read-write]<p>
   </p><p>キャンバスがユーザイベントを受け取るか受け取らないかを設定または取得します。</p>
   <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get isActive():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set isActive(value:Boolean):void</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="CanvasData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CanvasData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function CanvasData(param:Object)</code><p>
   </p><p>新しいCanvasDataインスタンスを作成します。</p>
   <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">param</span>:Object</code></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="initialize()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">initialize</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function initialize(param:Object):void</code><p>
   </p><p>キャンバスデータを初期化します。</p>
   <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">param</span>:Object</code></td>
</tr>
</table>
</div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="CANVAS_PIXELS_MAX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CANVAS_PIXELS_MAX</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const CANVAS_PIXELS_MAX:Number = 16777216</code><p>
   maximum size of canvas pixels
   </p></div>
<a name="CANVAS_SIZE_MAX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CANVAS_SIZE_MAX</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const CANVAS_SIZE_MAX:Number = 8192</code><p>
   maximum size of canvas size
   </p></div>
<a name="CANVAS_SIZE_MIN"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CANVAS_SIZE_MIN</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const CANVAS_SIZE_MIN:Number = 10</code><p>
   minimum size of canvas size
   </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
